package de.hauschild.orbitvm.vm.instruction.impl.single;

import de.hauschild.orbitvm.vm.VM;
import de.hauschild.orbitvm.vm.instruction.impl.AbstractInstruction;

/**
 * No operation.
 * 
 * @since 1.0.0
 * @author Klaus Hauschild
 */
public class Noop extends AbstractInstruction {

  /**
   * Instantiates a new {@link Noop}.
   * 
   * @param theInstructionCounter
   *          the instruction counter
   */
  public Noop(final int theInstructionCounter) {
    super(theInstructionCounter);
  }

  @Override
  public void evaluate(final VM vm) {
  }

  @Override
  public String toString() {
    return String.format("%d: Noop", getInstructionCounter());
  }

}
